package cn.order.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author summit
 * @since 2022/5/27 15:14
 */
@FeignClient(name = "stock")
public interface StockApi {

    @GetMapping("/stock")
    void stock(@RequestParam Long productId);
}
